package com.jz.work.service.impl;

import com.jz.work.core.DataSource;
import com.jz.work.dao.UserDao;
import com.jz.work.service.UserService;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
@Repository("userService")
public class UserServiceImpl implements UserService {
    @Resource(name = "userDao")
    private UserDao userDao;

    @Override
    public List<Map<String, Object>> selectUserOneInfo() {
        return userDao.selectUserOneInfo();
    }

    @Override
    public List<Map<String, Object>> selectUserTwoInfo() {
        return userDao.selectUserTwoInfo();
    }


}
